<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
  <head>
    <title>宽仁妇孺关怀PAC</title>
    <meta charset="UTF-8">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"> 
	<meta name="viewport" content="width=device-width,initial-scale=1" />
	<style type="text/css">
        html
        {
         height:100%;
         margin:0;
        }
        body
        {
            height:100%;
            margin:0; 
        }
        
        a:link {
			color: #3B5998;
			text-decoration: none;
		}
		.ui-submit-button {
			width:203px;
			height:55px;
			background-image: url("../images/login/login_submit.png");
			background-repeat: no-repeat;
			background-size:182px auto;
			font-size: 30px;
			color: #FFF !important;
			cursor:pointer;
		}
		
		.ui-submit-button:hover {
			background-image: url("../images/login/login_submit_on.png");
		}
		
		.ui-submit-button:active {
			background-image: url("../images/login/login_submit_click.png");
		}
		
		.ui-regist-button {
			width:203px;
			height:55px;
			background-image: url("../images/login/regist2.png");
			background-repeat: no-repeat;
			background-size:182px auto;
			background-position: right top;
			font-size: 30px;
			color: #FFF !important;
			cursor:pointer;
		}
		
		.ui-regist-button:hover {
			background-image: url("../images/login/regist_on2.png");
		}

		.ui-regist-button:active {
			background-image: url("../images/login/regist_click2.png");
		}

		.login-textbox{
			border-bottom-color:blue;
			border-bottom-left-radius:5px;
			border-bottom-right-radius:5px;
			border-bottom-width:1px;
			border-left-color:blue;
			border-left-width:1px;
			border-right-color:blue;
			border-right-width:1px;
			border-top-color:blue;
			border-top-left-radius:5px;
			border-top-right-radius:5px;
			border-top-width:1px;
			color:#444444;
			font-size:20px;
			vertical-align: middle;
			line-height:39px;
			height: 39px;
		}
    </style>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/page/login/login.js"></script>
  	<!-- enter事件提交表单 -->
  	<script type="text/javascript">
  	$(function () {
        document.onkeydown = function (event) {
            var e = event || window.event || arguments.callee.caller.arguments[0];
            if (e && e.keyCode == 13) {
            	submitForm();
            }
        };
    });
  	</script>
  </head >
  
  <body>
  	<table style="width: 100%;height: 100%;">
  		<tr>
  			<td align="center" valign="middle" >
  			<div id="divLogin" class="easyui-panel" title="宽仁妇孺关怀PAC" style="width:700px;height:350px;padding:10px;">
		    <form id="frmLogin" method="post"  action="${pageContext.request.contextPath}/login/mainframe"  data-options="novalidate:true">
		    	<table style="height: 190px;margin-left: 100px;">
		    		<tr height="30%">
		    			<td style="width: 150px;" align="right">
		    				<span style="font-size: 25px;color: #0000EE;">
		    					<b id="testUserName">用&nbsp;户&nbsp;名：</b>
		    				</span>
		    			</td>
		    			<td colspan="2">
		    				<input class="login-textbox" type="text" id="txtUsername" name="username"   style="width: 274px;" />
		    			</td>
		    		</tr>
		    		<tr height="30%">
		    			<td align="right">
		    			<span style="font-size: 25px;color: #0000EE;align-text:left;" >
		    				<b>密&nbsp;&nbsp;&nbsp;码：</b>
		    			</span>
		    			</td>
		    			<td colspan="2">
		    				<input class="login-textbox" type="password" id="txtPassword" name="password"   style="width: 274px;" />
		    			</td>
		    		</tr>
		    	</table>
			</form>
			<div style="text-align:center;padding:5px;margin-top: 30px;">
		    	<table style="width: 100%;">
		    		<tr>
		    			<td align="center">
		    				<div class="ui-submit-button" onclick="submitForm();"></div>
		    			</td>
		    		</tr>
		    	</table>
		    </div> 
		    </div>
  			</td>
  		</tr>
  	</table>
  </body>
</html>
